//////////////////////////////////////////////////////////////////////////////
//
//  Created by Philip Mulcahy on 18/05/2013.
//  Copyright (c) 2013 Philip Mulcahy. All rights reserved.
//
//  This file is part of the note-recog library.
//
//  note-recog is free software: you can redistribute it and/or modify
//  it under the terms of version 3 of the GNU Lesser General Public License 
//  as published by the Free Software Foundation.
//
//  note-recog is distributed in the hope that it will be useful,
//  but WITHOUT ANY WARRANTY; without even the implied warranty of
//  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
//  GNU General Public License for more details.
//
//  You should have received a copy of the GNU General Public License
//  along with note-recog. If not, see <http://www.gnu.org/licenses/>.
//
//////////////////////////////////////////////////////////////////////////////

#ifndef note_recog_FrameGenParamGen_h
#define note_recog_FrameGenParamGen_h

#include "IFrameGenParamGen.h"
#include <vector>

class SingleNoteGenerator : public IFrameGenParamGen
{
private:
    const float _freq;
    const float _start_time;
    SingleNoteGenerator(); // not implemented
public:
    SingleNoteGenerator(float freq, float start_time)
    : _freq(freq), _start_time(start_time) {}
    
    virtual std::vector<FrameGenParam> getComponentParams(float t)const;
    virtual float duration() const { return 5.f; }
};


#endif
